package com.css.fxfzaqbz.modules.data.repository;


import com.css.fxfzaqbz.modules.data.entity.Report;
import com.css.fxfzaqbz.modules.data.queryParams.ActMap;
import com.css.fxfzaqbz.modules.data.queryParams.ActReport;
import com.css.fxfzaqbz.modules.port.entity.ReportVO;
import com.css.fxfzaqbz.modules.port.param.ReportPortParam;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

public interface ReportRepository {


    Report saveReport(Report report);

    List<Report> getAllReportById(String id);

    Report getReportById(String id);

    void delReports(List<String> ids, Timestamp timestamp, String userID);

    Report updateReport(Report report);

    Map<String, Object> getActReport(ActReport actReport);

    Map<String, Object> getActMap(ActMap actMap);

    String getReportByFC(Report report);

    String getNewCode(String iaId,Timestamp startTimestamp, Timestamp endTimestamp);

    Report getReportByFCI(Report report);

    List<Report> getHistory(String iaId);

    List<Report> getAllReport(Report report);

    Report updateReportStatus(Report reportById);

    String updateZiStatus(Report report);

    void updatePsStatus(String s, String srId);

    void submitSh(Report report);

    void uploadYiJian(Report report);


    void reUpload(Report report);

    Report getReportByIaId(String id);

    List<ReportVO> getReportPort();

    List<Report> getReport1ByIaId(String iaId);
}
